<template>
    <div class="text-2xl">
        这是首页
    </div>
    <img src="@/assets/vue.svg" />
    <autoimport></autoimport>
    <button @click="test">测试请求</button>
</template>

<script setup>

import { testApi } from '@/api/index.api'

const test = async () => {
    const res = await testApi()
    console.log(res)
}

</script>
